scalar extension by reshaping the scalar.