second take at root moveordering

use of INF instead of MAX_INT was a bug