step2 borders added for ranges