Comparison of deformation in AM and CP nanomaterials