How to extrude shape to a smaller size / truncate irregular pyramid

Maybe you can use that?

Multi Form Geometry