AI crunches the school consolidation numbers