factors affecting train car length