fixed reconstruction iteration bug.