r600g: calculate a better value for array_size (v2)