Input a number N and get a {width:X,height:X} object for a grid with at least N cells