Implemented stratified approach also in pmres.