Added stack bounding