speeding up to access some CKY table