add auto-sizing for OT