Iran is racing against time to complete land purchases for a key railway project along the Caspian Sea coast that is planned to be built using Russian funding.