Sparse array has been done till the end