The formation of the primitive star SDSS J102915+172927: effect of the dust mass and the grain-size distribution uri icon