updated to use constexpr
updated to use constexpr
updated to use constexpr
updated to use constexpr
updated to use constexpr