changes in reconstruction module, still there is a strange error in registration module.