Caching the minimakect input field for performance

Caching the minimakect input field for performance and to save some
bytes.