[ENHANCEMENT]: Device assertions in debug mode
This enhancement proposes adding device-side assertions in debug mode to catch common errors in data structure operations like sentinel probing, overflow conditions, and out-of-bounds storage access. These assertions would be conditionally enabled via a `DEBUG` flag to avoid performance degradation in release builds.