Now, fix up the middle layer.