list_rm changes, include list_add in extend_heap