Change position calculation