Fixed lookup algorithm