making a heap