improve speed of sh/c/n (a bit)[probably].