fixed reduce position calculation