changed const -> constexpr to make the c++ gods happy