A Partition Based Approach To Approximate Tree Mining : A Memory Hierarchy Perspective