Limit programs to 7 actions

Fix #95