add fastcomp stack overflow checks and testing