change calculate border to padBorder