speed up mergeOptions