changed all buffer size tracking to be accounted in global array. inter-core buffers use get_available instead of array