q.forEach { it?.apply { q[j++] = this } }