use shape, not length to extend scalars.