fixed possible shapes being skipped over
possible fix to average rotations
possible fix to connection rotations