updated mps-interface to work around clang switch memory hog error