Allocating arrays from free gaps in the area area