generate features in parallel.