The attached file reimplements the reconstruct command. It was done without any prior examination of the original command.