better Indexbox transform