Sharing & Polynoms changed to work with Pairs