implemented polyregions to amr python data class