Optimized shape, materialmodel, and mpmutils