Exception is raised when there are not enough frames