go: move the subtraction inside