Versions forest building