huge MX optimization