fixed distanceOffset. 0 -> 2