How to render the whole of image?
I would not do this in the compositor at all. You are giving yourself a lot of extra work. 

The easiest solution is to place the camera at the correct place, giving you exactly the layout you want.

Like this:


The border around the render region turns red.

Open the options panel to the right (N). Use the normal view control keyboard commands to rotate and pan the camera until you are satisfied.