putting wide limits according to the container