Improved basis function placement.