finish heap but not the ex-1.c of it