starting on GPU optimized grid search v2