avoid using the same picture buff for prev pic and curr pic