New utilties to aid door generation