Avalanches overflowing a dam: dead zone, granular bore and run-out shortening