First and second order stress extrapolation for mode I and mode II edge cracks