Fix neighbor function for wrapped version of life.