crop the pipes as in the reference image 2