shadow away i64<-->double casts in more cases
make sure interpLines works properly
make sure removeAndAdd works properly