link length mapping
modification for link length and find some errors in tree data structure
modification for link length and find some errors in tree data structure