Add compile option to instantiate multiple cores