The technology allows to construct ... or
The technology allows constructing.

Which one is better? And is there some newances in gerund usage?