[DEV] Improve algorithm to minimize double walls between rooms