decrease memory copy