Implemented base reconstruction