added macro SSTACK_CHECK_BOUNDARIES