Flip then expand

Rough implementation of what it could look like.