General: Updated IS_OUT_OF_BOUNDS macro
Generation: density asserts