Fit in the container

- Included check of the parameter object (hasOwnProperty)