Making marching squares faster.