improved valid bit tracking for init