optimize the backend calls we make for frame creation (#1016)

optimize the backend calls we make for frame creation
13 files changed