Add the code for unreachable area. The added code in locating.java has
not been enabled (commented out) as it is not fully tested.