Only check liberties of adjacent groups.