left and right shifts added
before vectors