This ensures we don't build circuits that have 5 hops or more. Patch contributed by wanoskarnet, thanks!