fixed bug in reconstruction_loop