profiling decorators
1. add 'sys.setrecursionlimit(10**6)' that can scale up for more recursive
call in DFS(); 2. move amend_gap from routing.py to here for integrity
3. profiling
1. capacity setting. try to mitigate the cost of dynamic memory control
2. profiling
1. remove debug message; 2. test Krustal profiling