rebuild taking motor parameters from config - thanks to Dima73