On balancing between transcoding overhead and spatial consumption in content adaptation