overlap issue fixed with rounding