distanceOffset should not be static.