setSizeInBits is buggy