permutate_bits
new = permutate_bits(true, i + j, size, old);
new = permutate_bits(false, i + j, size, old);