US senators finish writing infrastructure bill