Suppose T=A0A1A2A3 is a tetrahedron with ∠A1A0A3=∠A2A0A1=∠A3A0A2=90∘, A0A1=5,A0A2=12 and A0A3=9. A cube A0B0C0D0E0F0G0H0 with side length s is inscribed inside T with B0∈A0A1,D0∈A0A2,E0∈A0A3, and G0∈△A1A2A3; what is s?