PowerSwitch: a adaptive mode switch engine for distributed parrallel graph computation