Completed original intended scope of patch function, however adding sample chunk proved ineffective. More information must be encoded in x2st chunk, which requires some analysis due to lack of documentation.