Fixed #2. Check on size bounds is added