Fix indexing for LMA block