bug fixes in the block dilution scheme