rotate+uncmin dirs