#104 Introducing mathematical approach, rounding has issues though.