stack: int -> size_t