first steps for creat boolMatrix