Add support for panel size.
Improved rata