Global changes. Added DSHeap structure