Add comments that explain the role of positionSet in updateCurrentPosition().