guards for SmallStackBuffer