See the Tree Through the Lines: The Shazoo Algorithm