Added allocate_long table function
Converted integer array to long array in-order to incoperate upto 2**30 variable boolean functions