Copied array into padded array for cutoff_log function to prevent freeing input array