find_border_width function

Find buffer width that produces target area per side