bug fixes and memory optimization

fix 16 block FF case on return
add bt_node tree clean while searching the pathes
infinite running on return path - when the mouse returns to start the
 next target to check the path including unknown path should be unknow block.