improved polymorphic behaviour

- added decoding stump permutation