Init, extend_heap and coalesce added