applying varying box sizing