Also removed vestigial parameters that are no longer required after removing the need of boundary checks.