generate slate grid