free the scratch arrays
1.0.2