added smoothing to leap coords