assignKeepDomain now preserves array size.

This was a potential bug.