created BEAR_CASSERT and renamed dassert to BEAR_DASSERT