Rapidity distributions and nuclear transparency in heavy ion collisions