further polishing of missing room algorithm and interface.