Finding Object Configurations that Satisfy Spatial Relationships