BUG if it does not flatten, then project.