Removed unnecessary stack overflow checks.