explicit comparison between two step size
bug fix asn stopping condition