Create maximum rectangle