some small optimizations. prepare for optimized K storage.