create perimeter