In the current implementation, the leading dimensions are pre-configured. Instead, they should be set according to the layout values.