Finishing 'tree' implementation & cache strategy for list operations