Simplifying the second special case and always placing middle if possible