initialize frame sizes to zero