4 in this paper we study these problems in both line model and cut through model