Removed requirement for contiguous bounds in area_weights()