allocate arrays, and local_variable_allocation is a positive number