Use options.size instead of  container' size
Merge pull request #1 from slifszyc/master

Use options.size instead of  container' size