divide a square into eight equal parts