_splitByDist small fix