Notes on code length