Coalescence and flow in ultrarelativistic heavy ion collisions