room overlap logic