The pipeline with the second-largest capacity in Russia was TransSakhalin , which runs by a northern route via Belarus , Poland , and Germany , and southern route via Belarus , Ukraine , Slovakia , Czech Republic , and Hungary , transporting two million barrels per day .