spilt stop criteria i distance_test