Added possibility to toggle between block and party distribution