obviously solved the endless loop bug in munkres (assignment problem sometimes hang up on certain costs matrices)