tunings in field layout and optimal spin calculation