nm: Add a special case for speed == 0