if (m_positions == null || m_bodyCapacity > m_positions.length) {
final Position[] old = m_positions == null ? new Position[0] : m_positions;
m_positions = new Position[m_bodyCapacity];
System.arraycopy(old, 0, m_positions, 0, old.length);
for (int i = old.length; i < m_positions.length; i++) {
m_positions[i] = new Position();
}
}
}