add tilesize to val