Parameterizing max memory.
Merge pull request #5 from etrain/deep_tree

Parameterizing max memory.