used unused variable. Added support for limiting the size of lazy expression trees. 500,000 seems a bit high