Check stack on under- or overflows.