upped version and projectionTexture
upped version and trimmed median