initialized indicesArray and bitsArray to empty in case of new structure