Calculates round indices