rounding of offsetto and offsetfrom