Add overlapping rectangle problem