constrain body size in timegraph