Force prefix and suffix before middle

This should be slightly more efficient. Probably very slightly, but there doesn't seem to be a good reason not to.