add randBin method
use of randBin to simplify several SourceProperties