rounding sub pixels works, well.

rounding sub pixels funciton working wonderfully.