please add phi-rectangle and automargin