Change off by one bit issue