more exposition of min_rank window fcn