finds distance nd array for Si