fix: added slope parameter for grid by shape
chg: commented undo_push used for debug