create m3 model after parsing is finished