bug fixed. randwalk_feats considers all edge codes.