Tile sample size will be replaced with image recognition