Made pipes use a prioritized queue on locations.