Remove the indices_chunk part to the first, so if the array doesn't need reorganization, the new development is skipped.