If the universe is finite it cannot be flat. If it is not flat, then it does not have parallel geodesic lines. If the geodesics diverge, then a volume gets expanded on the transport along the geodesics. A volume expansion would explain the observed red shift.