graph borders and perlin begins