A construction for absolute values in polynomial rings