A method of video processing includes performing a conversion between a video comprising a plurality of video layers and a bitstream of the video, wherein the bitstream comprises a plurality of output layer sets (OLSs), each of which comprises one or more of the plurality of video layers, and the bitstream conforms to a format rule, wherein the format rule specifies that, for a layer i, where i is an integer, the bitstream includes a set of first syntax element indicative of a first variable indicating whether the layer i is included in at least one of the plurality of OLSs.