added files for finding border points