The properties of confined quantum systems are of fundamental importance in the understanding of quantum behavior at extreme conditions. One of such quantum systems at extreme conditions is an ultra-cold quantum matter wave packet confined by a square well potential. The square well potential could be produced by a bend in a waveguide in an atom chip. Of further interest is the presence of contact impurities inside the bend produced by guide defects. In order to study such a system, its properties are well described by the nonlinear Schrodinger equation. In this work, we generalize our previous work (Mendez-Fragoso and Cabrera-Trujillo in Eur J Phys D 69:139, 2015) to study the ground state behavior of a quantum matter wave packet under confinement by a bend modeled by an attractive square well potential of strength $$V_0$$ and width 2R in the presence of several contact impurities represented by delta potentials with strength $$\beta $$ placed inside it at the threshold of delocalization, i.e., at the point where the well has trapped the maximum number of particles. We find that the maximum number of atoms held by the squared well potential only depends on the total strength of the contact impurities and not on their position. This implies that the maximum number of trapped particles is the same for one or more contact impurities as long as the combined strength is the same. For small $$R \sqrt{V_0}$$ values of the squared well potential, the number of particles trapped at the delocalization threshold is lower than when no contact impurities are present and decreases more as the contact impurity repulsive strength increases. This induces a threshold on the maximum number of particles trapped by an attractive squared well at $$2R V_0=\sum _i\beta _i$$ . The matter wave packet profile shows the effect of the contact impurity as a wedge shape at the contact impurity position.