add heap library