Now also check if the phase bin number of std equal that of data