WIP: local indexing
DistArray global indexing uses `global_index`.
fix bug, global_index should be in __init__