Cleaned up binary heap main