Implemented weighted select from blocks