Precompute corners to make everything 129384320x easier.