Adding const ref values for index and move helper for pointer calculator