Make portal width and height table fields instead of constants