TableManager's getAvailableTable to first-fit logic