It looks like you have variable slice spacing and need to enable acquisition geometry regularization option. These links should help.