Code restructuring or reordering based on profiling information and memory hierarchy is provided by constructing a Program Execution Graph corresponding to a level of the memory hierarchy, partitioning this PEG to reduce estimated memory overhead costs below an upper bound, and constructing a PEG for a next level of the memory hierarchy from the partitioned PEG. To achieve this object, an image recognizing unit recognizes images in a page represented by page description data, and a natural image determining unit determines whether or not each recognized image is a natural image. The conduit end has a relatively larger diameter than the attachment end and defines a shoulder at a junction of the attachment end and the conduit end. Two sequences of control codes for the two multiplications are interleaved as they are fed into a first processing element. A second user interface program API is generated to create a second user interface program object corresponding to the second standard object.