Updated data window index initialization