Added __build_heap__