Call correct function for join data
Table size fitting with linear or quadratic function
Added performance todo