Simplifying mirror margin implementation