Simplifying the second special case and always placing middle if possibl...

...e