feat: add block grid functionality, other fixes