Cubic shape indexer