Hash map without iterator