Pattern grid - hash