issue #1235 mess with data buffer to come up with integer random seed