Inner boundary problem file with userwork in loop cleaned up