Offset range fix
Check for insufficient memory during merge phase