Unless you get creative with the Bafang software you are going to top out at 45kph regardless of which chainring size you choose. 42 tooth is the best for chainline and speed. You can reach full speed on a 29" with 42 tooth up front and 13 tooth in the rear.