adding borders to the other directions