tweaks after profiling
profile parallel learnModel