Ground-up redesign of MISP to a compiled model