Modified grid drawing to draw arbitrary grid sizes