Accumulation effect for water-waves mode trapped in a canal