remove unnecessary shape_div function