array2d index1 to index2
array toindex safe
size_t -> size_type
NaviAStar