flattenings