See #39. the `flat_array_map` appears to be too slow when querying compared to `sparse_map`. Confirm and fix.