Shifts and stretches in different directions and factors