Freeze certain atoms before optimizing for double-ended