move PolyHash to normal int operations

* now it's clear that it fails -- but at least it should be way
  easier to understand