Removed the picsiz global, the width and height are now stores in the tiles struct