changed line color computation in walker.cpp