Moved common varaibles to class scope. changed search length to 20 for DepthLimited.java