Added flags to set tile, block and grid dimensions sizes