Creating an oriented box shape