changes to introduce padding in the 3D model