Remove optimize option; add compactArrays option to compaction.