add document for to_thin_a helper