Improved support for writing displacement field per optimization interval.