working outer limit routine (slowinterrupt) (not elegant but safety)