Estimation of non-effective width for different panel shapes in room and pillar extraction