gave up on edge case of 256. Settling for 255