Working version with dependence on cuba 3.0 version. Using polcode_V2 from pks runs. Consider this starting point