Text this: An approximate algorithm for maximizing modularity by estimating the domain of influence