SMART: Self-Morphing Adaptive Replanning Tree