use ScalarXXX in ScalarXXXMaybeConst