move divisions from ThirdStageKernel to SecondStageKernel, to reduce instructions count in ThirdStageKernel