Build a stack