Creating block patterns