removed div by maxDist in predict as it was only a proposal