A method for video processing is provided. The method includes determining, for a conversion between a current video block of a video that is a chroma block and a coded representation of the video, parameters of a cross-component linear model based on R chroma samples from a group of neighboring chroma samples, wherein the R chroma samples are selected from the group based on a position rule; and performing the conversion based on the determining and R is greater than or equal to 2.