tor/src/or/
 or.h  
#define DEFAULT_ROUTE_LEN 3 
change this to 
#define DEFAULT_ROUTE_LEN 5 

 routerparse.c  
digest_algorithm_t alg = DIGEST_SHA1;

Leave this alone, it's required for the signature checking with each router (don't change it or it will break your connection)

If you know of any other good mods for tor post below. Thanks.