avoid recomputing random district