Minor but effective optimization to drawing automap