register threading - 1d