For 6:
m m m m
m 6 6 m
m 6 m m
m m m m
for 4:
+ - - - - - - - - - - - +
| m m 4 m m 4 m m 4 m m |
| m m 4 m m 4 m m 4 m m |
| 4 4 4 4 4 4 4 4 4 4 4 |
| m m 4 m m 4 m m 4 m m |
| m m 4 m m 4 m m 4 m m |
| 4 4 4 4 4 4 4 4 4 4 4 |
| m m 4 m m 4 m m 4 m m |
| m m 4 m m 4 m m 4 m m |
| 4 4 4 4 4 4 4 4 4 4 4 |
| m m 4 m m 4 m m 4 m m |
| m m 4 m m 4 m m 4 m m |
+ - - - - - - - - - - - +