Switching components, also named bad configurations, interchanges, and ghosts (according to different scenarios) play a key role in the study of ambiguous configurations, which often appear in Discrete Tomography and in several other areas of research. In this paper we give an upper bound for the minimal size bad configurations associated to a given set S of lattice directions. In the special but interesting case of four directions, we show that the general argument can be considerably improved, and we present an algebraic method which provides such an improvement. Moreover, it turns out that finding bad configurations is in fact equivalent to finding multiples of a suitable polynomial in two variables, having only coefficients from the set {−1, 0, 1}. The general problem of describing all polynomials having such multiples seems to be very hard [1]. However, in our particular case, it is hopeful to give some kind of solution. In the context of Digital Image Analysis, it represents an explicit method for the construction of ghosts, and consequently might be