Polystyrene implementation in the peersim simulator