Move Y map gen into function
Inv Length LUT