Browsing: how to find perimeter