More long indexing logic cleanup, moved +1 math from getL to populateObjects.