made the tolerances work for layers 1-16

There were more errors in 29 and 30 but I don't know if those need to be
fixed.