add align mothod for l-rectangle.c