Create lad to ecode lookup table