Fix markAllAsUnused for heapblock
Faster markAllAsUnused for heapblock