resized topcodes to be appropriate for current tiles