NIDAQ: better task indexing