Buckling performance improvement in 3d printed variable stiffness composite laminates