Completing sparse array