Removed residual region buffer code.