protection against url altering, setting a very high number of the url depth would mean a very large string would be generated.