Are you aware of any heuristics to get a good approximate of the rank? Ping @mblondel