Different PHIs and checks around theta boundaries

uguu