changed abs module to 16 bits