customised the slab thickness in each direction