Stripped-down version of a microsimulation algorithm