Maybe inline this? the get_tile function is only used in one line, which is also very short.