Structuring Heap and Reference system