try to avoid l3_unscale() by using a table