Build simple stack contract.