#define RUNTIME_CHECKS // uncomment to trade runtime checks for negligible performance improvements