Consolidate RUN instructions to limit layers