cleanup and comments in MouldAssemblyBuffer