Partially fixed the MTW heuristic