Avoid floating point lookup in array
Version 1.0.4