Fixed dense function