refactor math.round metrics