integrate mawi codes
boot time clustering