ck's 2L algorithm and shell.