changed right vector size and added left vector