Trick nbytes into working for globals