Almost finishing reimplementation of BTE-RTA.