Merge from optimization