leftCoreToAssign should be limited by mem also