adding offset argument to stat_bin()