A Robust Shape Decomposition Method