correct the Nev in the function to collect scalar product flow