removed abs() from lcm