A 3D optimization algorithm for sustainable cutting of slabs from ornamental stone blocks