add linewidth and add cpadding struct padding test utility