In case of two-way slabs, the depth of slab is based on