finding border width