- put back squared distance to datacost...big mistake....