COINS.py: Unfinished lookup optimization