first version of compactification