Pack takes pill margin into account