stack grow upwards or downwards