min/max node score approach