reduce gate usage by getting cache row only not entire cache array