The integer stack