heap problems