Changed hashmap to tileID array and tile vector