Math.abs dependency removed