edit bestPath but not equal to sample solutions