The Gestalt theoty and the problem of configuration