communities: hardcoded parameters removed

* Removes some hardcoded parameters
  in communities.

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>