modify DecodeUnit to apply Stack