mg precomputed sim