Add CC_OFF_STACK to reduce stack usage related to discussion #730