speed up label detection with mgc parsing