I was a little off on my last comment, but either way this is now fixed and ready for another look.  I just changed the order in which we pack/unpack data and use the last unpacked attribute to determine the number of vertices.