rounding off x and y