Heuristic optimized and fixed also for odd-sized problems.