Fix maven compilation
Fix Parallel.For so that it reads items from collection only as needed