Sparsity-inducing variational shape partitioning