Fix integrity. Mass insert of allocations.