Why do I get message "The program ran too long and was closed!" ?!