Morse-Smale Complex