What formed behind the blocked rivers?