Bug fix: handling of negative pips was not implemented.