Design of a new economic shape of weir