fixed read/write long, caliper results stable for int and long.