Slight optimization in tile appearance generation