constraints to kernel