added source computation functionality
sources spread through bins