seems to be rounding off by 1 bit