fix bug in last commit.  also scale probfrac when sequence length smaller than step