An attempt to minimize instructions by doing a quarter period solution. I suspect this could be much better, but the walls keep getting in the way.