implemented border width used value computation