instead of using integers in cairnswm's N lookup table, couldn't you use bytes and get both a performance and size win?