make random split in place