Efficient Beam Tree Recursion