Refs #8: backported size_trail_ fix from 3.x to 2.x