New termination criteria for LMNN