Revert "fixed some math"

This reverts commit da3c9c57ffe846e62e3a4acf1af3afd61c0d3e18.
reverted