add example of media size based offset