petit patch findwater prioritqueue length = 0