modified for 5 rolls in RE3/1 and RE4/1