No need to allocate array if no positions are required.