fixed bug in squirms where we should drop the encoding once we are done processing the block; also add a function to clear them