Need to understand ranges and operations better in python to use meta cache