Realistic Representative Volume Element Generation For Sintered Solids Part 1: Algorithm For Volume Computation And Geometry Creation