refactoring divineArea and createRoom