refactor rounding
round properly, periods need payments