Checked asserts and fixed error for dead zone