find the min in hyperplane