Use options.size instead of  container' size