Code used in the paper on consctruction of the marius model