optimize SpStream.Write
SpStream size check
optimize Pack/Unpack