fix in bw_encode to account for changed behavior of specific orders +
more results