added support for large/small/large-small block grid