build maxsols table