use projection instead of creating objects directly
collecting positions for all samples was broken