Use integer arithmetic to compute affix position