changed stopping condition in HiSR