New code to calculate properties of central voids