use lookup table for malloc bin index instead of float conversion