flatten line