#12644: reduce the spkg size by half


PR for issues #12644