Length of the milliarcsecond jet in 3C 345