j/gramco: use evoke inside 'when' so it can calculate the length dynamically.