custom Parallel.ForEach implementation, polishing
many many changes