Aceeri's Territory Making algorithm