Create position objects array