Variable-width contouring for additive manufacturing