Boundary layer model for vortex fingers in type II superconductors