maximum spread matching method is in
changed app from N processes to multiThreaded for local test